package name.jiaosha.air.system.domain;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ali8ba.Domain;

/**
 * 能效比
 * 
 * @author xu
 * 
 */
@Entity
@Table(name = "sys_seer")
public class Seer extends Domain {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5708967162275544632L;

	private Integer id;
	/**
	 * 能效等级 一级;二级;...
	 */
	private String name;

	public Seer() {

	}

	@Id
	@Column(name = "id", unique = true, nullable = false, precision = 11)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Basic()
	@Column(name = "name", length = 10)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
